package com.cyy.activitylifecycleyanalysisdemo.activity;


import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

import com.cyy.activitylifecycleyanalysisdemo.utils.LogUtils;
import com.cyy.activitylifecycleyanalysisdemo.R;

public class SecondActivity extends AbstractBaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected int getContentLayoutResId() {
        return R.layout.activity_default_layout;
    }

    @Override
    protected String getActivityDecs() {
        return getClass().getSimpleName();
    }

    @Override
    protected String getLogTag() {
        return LogUtils.getClassTag(getClass());
    }

    @Override
    protected String getDefaultBtnText() {
        return "无动作";
    }

    @Override
    protected void onDefaultButtonClick(View v) {
        Toast.makeText(getBaseContext(), "no action", Toast.LENGTH_SHORT);
    }
}
